home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / xcal354.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-11-22  |  615b  |  33 lines

  1. echo off
  2. if "%1" == "" goto NOINPUT
  3. if not exist %1\*.* goto DIRERROR
  4.  
  5. echo Copying files to %1
  6. copy *.exe %1
  7. copy *.frm %1
  8. copy *.txt %1
  9. if not exist %1\xc2 goto MAKESUB
  10.  
  11. :COPYXCL
  12. echo Copying files to %1\XC2
  13. copy *.xcl %1\XC2
  14. echo All Done!
  15. goto DONE
  16.  
  17. :MAKESUB
  18. echo Creating directory %1\XC2
  19. md %1\xc2
  20. goto COPYXCL
  21.  
  22. :DIRERROR
  23. echo BBS directory %1 does not exist!
  24. echo .
  25.  
  26. :NOINPUT
  27. echo    This batch file copies the Excalibur! II game files
  28. echo    into the appropriate directories.  The format is
  29. echo    INSTALL C:\BBSDIR   where BBSDIR is your BBS root directory.
  30. echo .
  31.  
  32. :DONE
  33.